package com.knowswift.issues.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.knowswift.common.bean.issue.po.Customer;
import com.knowswift.common.bean.issue.po.Issue;
import com.knowswift.common.bean.issue.vo.IssueVO;
import com.knowswift.common.bean.issue.vo.ModuleDto;
import com.knowswift.common.common.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author CTL
 * @create 2025-07-17 18:04
 */
@Mapper
public interface CustomerMapper extends BaseMapper<Customer> {
    Page<IssueVO> getCustomers(
                             @Param("customerCode") String customerCode,
                             @Param("customerName") String customerName,
                             @Param("status") Integer status,
                             Page<IssueVO> page);

    String getMaxCustomerCode();

    Customer getCustomerById(String customerId);
}
